﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Ccteg.Common
{
    public class Schedule
    {
        public long ID { set; get; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string JOBNAME { set; get; }
        /// <summary>
        /// 触发时间CRON
        /// </summary>
        public string TRIGGERDATECRON { set; get; }

        /// <summary>
        /// 触发时间描述
        /// </summary>
        public string TRIGGERDESC { set; get; }
        /// <summary>
        /// 触发任务类型
        /// </summary>
        public string JobType { set; get; }
        /// <summary>
        /// 任务状态默认值为1（1运行中，0暂停中）
        /// </summary>
        public int? JOBSTATE { set; get; }

        /// <summary>
        /// 任务状态默认值为0（0正常，1删除）
        /// </summary>
        public int? ISDELETE { set; get; }
        /// <summary>
        /// 是否正在执行 0：未执行；1执行中
        /// </summary>
        public int isrunning { get; set; }
    }
}
